// 腰圆形
let RoundTheWaist = new joint.shapes.standard.Rectangle();
RoundTheWaist.resize(80, 35);
RoundTheWaist.attr('root/tabindex', 2);
RoundTheWaist.attr('root/title', 'joint.shapes.standard.Rectangle');
RoundTheWaist.attr('root/hierarchy', 0);//节点
RoundTheWaist.attr('root/incident', '');//资源类型  video/Audio/text/image/none
RoundTheWaist.attr('root/incidentData', '');//资源数据
RoundTheWaist.attr('root/dialogColor', '');//弹出框背景颜色设置
RoundTheWaist.attr('root/dialogWidth', 800);//弹出框宽设置
RoundTheWaist.attr('root/dialogHeight', 600);//弹出框高设置
RoundTheWaist.attr('root/shape', 'yyx');//弹出框高设置
RoundTheWaist.attr('body/fill', '#e5efff');//背景颜色
RoundTheWaist.attr('body/fillOpacity', 1);//透明度
RoundTheWaist.attr('body/stroke', '#e5efff');//边框颜色
RoundTheWaist.attr('body/strokeWidth', 1);//边框大小
RoundTheWaist.attr('body/strokeDasharray', '1,0');//边框样式
RoundTheWaist.attr('body/rx', 25);//圆角
RoundTheWaist.attr('label/text', '');//文字内容
RoundTheWaist.attr('label/fontSize', 14);//文字大小
RoundTheWaist.attr('label/fill', '#000');//文字颜色
RoundTheWaist.attr('label/style/opacity', 1);//文字透明度
RoundTheWaist.attr('label/style/letterSpacing', 1);//文字字间距
RoundTheWaist.attr('label/kerning', 50);//文字行间距
RoundTheWaist.attr('label/fontWeight', 'Normal');//文字粗细
RoundTheWaist.attr('label/fontStyle', 'Normal');//文字倾斜
RoundTheWaist.attr('label/fontFamily', 'SimSun');//文字字体
RoundTheWaist.attr('label/textAnchor', 'middle');//文字左中右对齐start | middle | end | inherit
RoundTheWaist.attr('label/textVerticalAnchor', 'middle');//文字左中右对齐start | middle | end | inherit
// RoundTheWaist.attr('rect/filter', { name: 'dropShadow', args: { dx: 0, dy: 0, blur: -10 } });//阴影
// 腰圆形blue
let blueRoundTheWaist = new joint.shapes.standard.Rectangle();
blueRoundTheWaist.resize(80, 35);
blueRoundTheWaist.attr('root/tabindex', 2);
blueRoundTheWaist.attr('root/title', 'joint.shapes.standard.Rectangle');
blueRoundTheWaist.attr('root/hierarchy', 0);//节点
blueRoundTheWaist.attr('root/incident', '');//资源类型  video/Audio/text/image/none
blueRoundTheWaist.attr('root/incidentData', '');//资源数据
blueRoundTheWaist.attr('root/dialogColor', '');//弹出框背景颜色设置
blueRoundTheWaist.attr('root/dialogWidth', 800);//弹出框宽设置
blueRoundTheWaist.attr('root/dialogHeight', 600);//弹出框高设置
blueRoundTheWaist.attr('root/shape', 'yyx');//弹出框高设置
blueRoundTheWaist.attr('body/fill', '#1a8cff');//背景颜色
blueRoundTheWaist.attr('body/fillOpacity', 1);//透明度
blueRoundTheWaist.attr('body/stroke', '#1a8cff');//边框颜色
blueRoundTheWaist.attr('body/strokeWidth', 1);//边框大小
blueRoundTheWaist.attr('body/strokeDasharray', '1,0');//边框样式
blueRoundTheWaist.attr('body/rx', 25);//圆角
blueRoundTheWaist.attr('label/text', '');//文字内容
blueRoundTheWaist.attr('label/fontSize', 14);//文字大小
blueRoundTheWaist.attr('label/fill', '#000');//文字颜色
blueRoundTheWaist.attr('label/style/opacity', 1);//文字透明度
blueRoundTheWaist.attr('label/style/letterSpacing', 1);//文字字间距
blueRoundTheWaist.attr('label/kerning', 50);//文字行间距
blueRoundTheWaist.attr('label/fontWeight', 'Normal');//文字粗细
blueRoundTheWaist.attr('label/fontStyle', 'Normal');//文字倾斜
blueRoundTheWaist.attr('label/fontFamily', 'SimSun');//文字字体
blueRoundTheWaist.attr('label/textAnchor', 'middle');//文字左中右对齐start | middle | end | inherit
blueRoundTheWaist.attr('label/textVerticalAnchor', 'middle');//文字左中右对齐start | middle | end | inherit
// blueRoundTheWaist.attr('rect/filter', { name: 'dropShadow', args: { dx: 0, dy: 0, blur: -10 } });//阴影


// 长方形
let rectangle = new joint.shapes.standard.Rectangle();
rectangle.resize(80, 35);
rectangle.attr('root/tabindex', 1);
rectangle.attr('root/title', 'joint.shapes.standard.Rectangle');
rectangle.attr('root/hierarchy', 0);//节点
rectangle.attr('root/incident', '');//资源类型  video/Audio/text/image/none
rectangle.attr('root/incidentData', '');//资源数据
rectangle.attr('root/dialogColor', '');//弹出框背景颜色设置
rectangle.attr('root/dialogWidth', 800);//弹出框宽设置
rectangle.attr('root/dialogHeight', 600);//弹出框高设置
rectangle.attr('body/fill', '#e5efff');//背景颜色
rectangle.attr('body/fillOpacity', 1);//透明度
rectangle.attr('body/stroke', '#e5efff');//边框颜色
rectangle.attr('body/strokeWidth', 1);//边框大小
rectangle.attr('body/strokeDasharray', '1,0');//边框样式
rectangle.attr('body/rx', 10);//圆角
rectangle.attr('label/text', '');//文字内容
rectangle.attr('label/fontSize', 14);//文字大小
rectangle.attr('label/fill', '#000');//文字颜色
rectangle.attr('label/style/opacity', 1);//文字透明度
rectangle.attr('label/style/letterSpacing', 1);//文字字间距
rectangle.attr('label/kerning', 50);//文字行间距
rectangle.attr('label/fontWeight', 'Normal');//文字粗细
rectangle.attr('label/fontStyle', 'Normal');//文字倾斜
rectangle.attr('label/fontFamily', 'SimSun');//文字字体
rectangle.attr('label/textAnchor', 'middle');//文字左中右对齐start | middle | end | inherit
rectangle.attr('label/textVerticalAnchor', 'middle');//文字左中右对齐start | middle | end | inherit
// rectangle.attr('rect/filter', { name: 'dropShadow', args: { dx: 0, dy: 0, blur: 0 } });//阴影

// 长方形
let orangerectangle = new joint.shapes.standard.Rectangle();
orangerectangle.resize(80, 35);
orangerectangle.attr('root/tabindex', 1);
orangerectangle.attr('root/title', 'joint.shapes.standard.Rectangle');
orangerectangle.attr('root/hierarchy', 0);//节点
orangerectangle.attr('root/incident', '');//资源类型  video/Audio/text/image/none
orangerectangle.attr('root/incidentData', '');//资源数据
orangerectangle.attr('root/dialogColor', '');//弹出框背景颜色设置
orangerectangle.attr('root/dialogWidth', 800);//弹出框宽设置
orangerectangle.attr('root/dialogHeight', 600);//弹出框高设置
orangerectangle.attr('body/fill', '#ff9959');//背景颜色
orangerectangle.attr('body/fillOpacity', 1);//透明度
orangerectangle.attr('body/stroke', '#ff9959');//边框颜色
orangerectangle.attr('body/strokeWidth', 1);//边框大小
orangerectangle.attr('body/strokeDasharray', '1,0');//边框样式
orangerectangle.attr('body/rx', 10);//圆角
orangerectangle.attr('label/text', '');//文字内容
orangerectangle.attr('label/fontSize', 14);//文字大小
orangerectangle.attr('label/fill', '#000');//文字颜色
orangerectangle.attr('label/style/opacity', 1);//文字透明度
orangerectangle.attr('label/style/letterSpacing', 1);//文字字间距
orangerectangle.attr('label/kerning', 50);//文字行间距
orangerectangle.attr('label/fontWeight', 'Normal');//文字粗细
orangerectangle.attr('label/fontStyle', 'Normal');//文字倾斜
orangerectangle.attr('label/fontFamily', 'SimSun');//文字字体
orangerectangle.attr('label/textAnchor', 'middle');//文字左中右对齐start | middle | end | inherit
orangerectangle.attr('label/textVerticalAnchor', 'middle');//文字左中右对齐start | middle | end | inherit
// orangerectangle.attr('rect/filter', { name: 'dropShadow', args: { dx: 0, dy: 0, blur: 0 } });//阴影


// 长方形
let bluerectangle = new joint.shapes.standard.Rectangle();
bluerectangle.resize(80, 35);
bluerectangle.attr('root/tabindex', 1);
bluerectangle.attr('root/title', 'joint.shapes.standard.Rectangle');
bluerectangle.attr('root/hierarchy', 0);//节点
bluerectangle.attr('root/incident', '');//资源类型  video/Audio/text/image/none
bluerectangle.attr('root/incidentData', '');//资源数据
bluerectangle.attr('root/dialogColor', '');//弹出框背景颜色设置
bluerectangle.attr('root/dialogWidth', 800);//弹出框宽设置
bluerectangle.attr('root/dialogHeight', 600);//弹出框高设置
bluerectangle.attr('body/fill', '#1a8cff');//背景颜色
bluerectangle.attr('body/fillOpacity', 1);//透明度
bluerectangle.attr('body/stroke', '#1a8cff');//边框颜色
bluerectangle.attr('body/strokeWidth', 1);//边框大小
bluerectangle.attr('body/strokeDasharray', '1,0');//边框样式
bluerectangle.attr('body/rx', 10);//圆角
bluerectangle.attr('label/text', '');//文字内容
bluerectangle.attr('label/fontSize', 14);//文字大小
bluerectangle.attr('label/fill', '#000');//文字颜色
bluerectangle.attr('label/style/opacity', 1);//文字透明度
bluerectangle.attr('label/style/letterSpacing', 1);//文字字间距
bluerectangle.attr('label/kerning', 50);//文字行间距
bluerectangle.attr('label/fontWeight', 'Normal');//文字粗细
bluerectangle.attr('label/fontStyle', 'Normal');//文字倾斜
bluerectangle.attr('label/fontFamily', 'SimSun');//文字字体
bluerectangle.attr('label/textAnchor', 'middle');//文字左中右对齐start | middle | end | inherit
bluerectangle.attr('label/textVerticalAnchor', 'middle');//文字左中右对齐start | middle | end | inherit
// bluerectangle.attr('rect/filter', { name: 'dropShadow', args: { dx: 0, dy: 0, blur: 0 } });//阴影

// 菱形
let polygon = new joint.shapes.standard.Polygon();
polygon.resize(80, 35);
polygon.attr('root/tabindex', 3);
polygon.attr('root/title', 'joint.shapes.standard.Polygon');
polygon.attr('body/refPoints', '0,30 75,0 150,30 75,60');
polygon.attr('root/hierarchy', 0);//节点
polygon.attr('root/incident', '');//资源类型  video/Audio/text/image/none
polygon.attr('root/incidentData', '');//资源数据  video填写地址/Audio填写地址/text填写文字/none
polygon.attr('root/dialogColor', '');//弹出框背景颜色设置
polygon.attr('root/dialogWidth', 800);//弹出框宽设置
polygon.attr('root/dialogHeight', 600);//弹出框高设置
polygon.attr('body/fill', '#e5efff');//背景颜色
polygon.attr('body/fillOpacity', 1);//透明度
polygon.attr('body/stroke', '#e5efff');//边框颜色
polygon.attr('body/strokeWidth', 1);//边框大小
polygon.attr('body/strokeDasharray', '1,0');//边框样式
polygon.attr('label/text', '');//文字内容
polygon.attr('label/fontSize', 14);//文字大小
polygon.attr('label/fill', '#000');//文字颜色
polygon.attr('label/fontWeight', 'Normal');//文字粗细
polygon.attr('label/fontStyle', 'Normal');//文字倾斜
polygon.attr('label/fontFamily', 'SimSun');//文字字体
polygon.attr('label/style/opacity', 1);//文字透明度
polygon.attr('label/style/letterSpacing', 1);//文字字间距
polygon.attr('label/textAnchor', 'middle');//文字左中右对齐start | middle | end | inherit
polygon.attr('label/textVerticalAnchor', 'middle');//文字左中右对齐start | middle | end | inherit
// polygon.attr('rect/filter', { name: 'dropShadow', args: { dx: 0, dy: 0, blur: 0 } });//阴影


// 标题
let text = new joint.shapes.standard.Rectangle();
text.resize(80, 35);
text.attr('root/tabindex', 1);
text.attr('root/title', 'joint.shapes.standard.Rectangle');
text.attr('root/hierarchy', 0);//节点
text.attr('root/incident', '');//资源类型  video/Audio/text/image/none
text.attr('root/incidentData', '');//资源数据
text.attr('root/dialogColor', '');//弹出框背景颜色设置
text.attr('root/dialogWidth', 800);//弹出框宽设置
text.attr('root/dialogHeight', 600);//弹出框高设置
text.attr('body/fill', '#cecece');//背景颜色
text.attr('body/fillOpacity', 1);//透明度
text.attr('body/stroke', '#cecece');//边框颜色
text.attr('body/strokeWidth', 0);//边框大小
text.attr('body/strokeDasharray', '1,0');//边框样式
text.attr('body/rx', 0);//圆角
text.attr('label/text', '标题');//文字内容
text.attr('label/fontSize', 14);//文字大小
text.attr('label/fill', '#000');//文字颜色
text.attr('label/style/opacity', 1);//文字透明度
text.attr('label/style/letterSpacing', 1);//文字字间距
text.attr('label/kerning', 50);//文字行间距
text.attr('label/fontWeight', 'Normal');//文字粗细
text.attr('label/fontStyle', 'Normal');//文字倾斜
text.attr('label/fontFamily', 'SimSun');//文字字体
text.attr('label/textAnchor', 'middle');//文字左中右对齐start | middle | end | inherit
text.attr('label/textVerticalAnchor', 'middle');//文字左中右对齐start | middle | end | inherit
// text.attr('rect/filter', { name: 'dropShadow', args: { dx: 0, dy: 0, blur: 0 } });//阴影

// 语音
let audio = new joint.shapes.standard.Image();
audio.resize(80, 35);
audio.attr('root/tabindex', 8);
audio.attr('root/title', 'joint.shapes.standard.Image');
audio.attr('root/hierarchy', 0);//节点
audio.attr('root/incident', '');//资源类型  video/Audio/text/image/none
audio.attr('root/incidentData', '');//资源数据  video填写地址/Audio填写地址/text填写文字/image填写路径/none
audio.attr('root/dialogColor', '');//弹出框背景颜色设置
audio.attr('root/dialogWidth', 800);//弹出框宽设置
audio.attr('root/dialogHeight', 600);//弹出框高设置
audio.attr('image/xlinkHref', require('./icon/audio.png'));

// 图片
let image = new joint.shapes.standard.Image();
image.resize(80, 35);
image.attr('root/tabindex', 8);
image.attr('root/title', 'joint.shapes.standard.Image');
image.attr('root/hierarchy', 0);//节点
image.attr('root/incident', '');//资源类型  video/Audio/text/image/none
image.attr('root/incidentData', '');//资源数据  video填写地址/Audio填写地址/text填写文字/image填写路径/none
image.attr('root/dialogColor', '');//弹出框背景颜色设置
image.attr('root/dialogWidth', 800);//弹出框宽设置
image.attr('root/dialogHeight', 600);//弹出框高设置
image.attr('image/xlinkHref', require('./icon/image.png'));


// 文字
let textalert = new joint.shapes.standard.Image();
textalert.resize(80, 35);
textalert.attr('root/tabindex', 8);
textalert.attr('root/title', 'joint.shapes.standard.Image');
textalert.attr('root/hierarchy', 0);//节点
textalert.attr('root/incident', '');//资源类型  video/Audio/textalert/image/none
textalert.attr('root/incidentData', '');//资源数据  video填写地址/Audio填写地址/textalert填写文字/image填写路径/none
textalert.attr('root/dialogColor', '');//弹出框背景颜色设置
textalert.attr('root/dialogWidth', 800);//弹出框宽设置
textalert.attr('root/dialogHeight', 600);//弹出框高设置
textalert.attr('image/xlinkHref', require('./icon/text.png'));


// 视频
let video = new joint.shapes.standard.Image();
video.resize(80, 35);
video.attr('root/tabindex', 8);
video.attr('root/title', 'joint.shapes.standard.Image');
video.attr('root/hierarchy', 0);//节点
video.attr('root/incident', '');//资源类型  video/Audio/textalert/image/none
video.attr('root/incidentData', '');//资源数据  video填写地址/Audio填写地址/textalert填写文字/image填写路径/none
video.attr('root/dialogColor', '');//弹出框背景颜色设置
video.attr('root/dialogWidth', 800);//弹出框宽设置
video.attr('root/dialogHeight', 600);//弹出框高设置
video.attr('image/xlinkHref', require('./icon/video.png'));


const Items = [
  RoundTheWaist,
  blueRoundTheWaist,
  rectangle,
  orangerectangle,
  bluerectangle,
  polygon,
  text,
  audio,
  image,
  textalert,
  video,

];

export default Items;